//
// Created by lenovo on 25-5-1.
//

#ifndef OBJ_STUDY5_GOODGAY_H
#define OBJ_STUDY5_GOODGAY_H
#include "iostream"

// 前向声明
class Building;
using namespace std;

class GoodGay {
public:
    GoodGay();
    void visit();//visit可以访问build中私有的成员
    void visit_2();//visit不可以访问build中私有的成员
    Building *building;

};


#endif//OBJ_STUDY5_GOODGAY_H
